package com.ruoyi.packet.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.math.BigDecimal;

/**
 * 套餐管理对象 packet
 * 
 * @author fq
 * @date 2025-01-08
 */
public class Packet extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 套餐编号 */
    private Long packetId;

    /** 套餐名 */
    @Excel(name = "套餐名")
    private String packetName;

    /** 套餐价格 */
    @Excel(name = "套餐价格")
    private BigDecimal packetPrice;
    /** 套餐信息 */
    @Excel(name = "套餐信息")
    private String packetInformation;

    public void setPacketId(Long packetId) 
    {
        this.packetId = packetId;
    }

    public Long getPacketId() 
    {
        return packetId;
    }
    public void setPacketName(String packetName) 
    {
        this.packetName = packetName;
    }

    public String getPacketName() 
    {
        return packetName;
    }
    public void setPacketPrice(BigDecimal packetPrice)
    {
        this.packetPrice = packetPrice;
    }

    public BigDecimal getPacketPrice()
    {
        return packetPrice;
    }
    public void setPacketInformation(String packetInformation) 
    {
        this.packetInformation = packetInformation;
    }

    public String getPacketInformation() 
    {
        return packetInformation;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("packetId", getPacketId())
            .append("packetName", getPacketName())
            .append("packetPrice", getPacketPrice())
            .append("packetInformation", getPacketInformation())
            .toString();
    }
}
